package com.loongxun.xxapp.ui.user;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.loongxun.xxapp.R;
import com.loongxun.xxapp.ui.phone.PhoneBindingActivity;

/**
 * 设置
 * Created by Administrator on 2017/10/26.
 */
public class SetActivity extends Activity implements View.OnClickListener{

    private TextView tv_title;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_set);

        findViewById(R.id.iv_back).setOnClickListener(this);
        tv_title = (TextView) findViewById(R.id.tv_title);
        tv_title.setText("设置");

        findViewById(R.id.ll_account_security).setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        Intent intent;
        switch (view.getId()){
            case R.id.iv_back:
                finish();
                break;
            case R.id.ll_account_security:
                intent = new Intent(this, PhoneBindingActivity.class);
                startActivity(intent);
                break;
            default:
                break;
        }
    }
}
